package com.fx.zmlzml.service.impl;

import com.fx.zmlzml.entity.SysUser;
import com.fx.zmlzml.mapper.SysUserMapper;
import com.fx.zmlzml.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser getUserByUsername(String username) {
        return sysUserMapper.selectByUsername(username);
    }

}
